|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrolesystem.roles.auction.Situation
public class Situation
This class represents the situation of an auction. Instances of this class are constant, once created they cannot be changed.
| Constructor Summary | |
|---|---|
Situation(Price price,
int winnBidder,
int countdown)
|
|
| Method Summary | |
|---|---|
int |
getCountdown()
Returns the current situation of countdown. |
Price |
getPrice()
Returns the price proposed for good. |
int |
getWinnBidder()
Returns the current winning bidder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Situation(Price price,
int winnBidder,
int countdown)
price - Price proposed for good.winnBidder - Current winning bidder.countdown - Current situation of countdown
(ticks to end).| Method Detail |
|---|
public Price getPrice()
public int getWinnBidder()
public int getCountdown()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||